package com.zkkj.demo.service.impl;

import com.zkkj.demo.annotation.PayType;
import com.zkkj.demo.service.PayChannelService;
import org.springframework.stereotype.Service;

/**
 * Created by cyc
 * 2019/12/30 23:09
 * 支付宝支付
 */

@Service
@PayType(defalutId = "aliPay")
public class AliPayChannelServiceImpl implements PayChannelService {

    @Override
    public boolean createOrder(String orderId) {
        return false;
    }

    @Override
    public boolean payOrder(String orderId) {
        System.out.println("aliPay");
        return false;
    }

    @Override
    public boolean refundOrder(String orderId) {
        return false;
    }
}
